/**
 * File:      page.css
 * Author:    Henry Feild
 * Date:      March 2013
 * Purpose:   Styles for the CLRM API documentation.
 *
 * %%COPYRIGHT%%
 *
 * Version: %%VERSION%%
 */

@font-face {
    font-family: 'OpenSans';
    src: url('fonts/open-sans/OpenSans-Regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html, .bodyWrapper {
    margin: 0;
    /*min-height: 600px;*/
}

body {
    margin: 0;
    padding: 0;
/*    width: 100%;
    height: 100%;*/
    height: 100%;
    color: #444;
}
.bodyWrapper {
    position: relative;
    top: 30px;
    bottom: 60px;
    left:230px;
    margin-bottom: 30px;
    min-height: 500px;
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
}

.menu {
    position: absolute;
    left: 31px;
    top: 100px;
    width: 200px;
    /*margin-bottom: 130px;*/

    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;

    border: 1px solid #888;
    background-color: white;
    padding: 10px;
    border-right-color: #eee;
    z-index: 100;
    padding-right: 2px;
}


h1, h2 {
/*    float:none;
    display: inline-block;
    min-width: 500px;
    margin-top: 10px;
    margin-bottom: 10px;

    white-space:pre;*/
}
/*h1:before, h2:before, h1:after, h2:after {
    content: '\A';
}*/


.bodyWrapper h1 {
    margin-top: 20px;
    font-size: 180%;
    color: #666;
    border: none;
}

.bodyWrapper h2, .bodyWrapper h3 {
    margin-top: 25px;
    margin-bottom: 0px;
    padding: 0px;
    font-size: 130%;
    color: steelblue;
    border: none;
}

.bodyWrapper h3 {
    color: #97bad7;
    font-weight: normal;
    margin-top: 20;
    font-size: 120%;
    /*font-style: italic;*/
}

.bodyWrapper h4 {
    font-weight: normal;
    font-size: 115%;
    margin-top: 15;
    margin-bottom: 15;
    color: #3b709a;
}

.bodyWrapper h2 {
    margin-top: 50px;
}

.function {
    background-color: #fcfcfc;
    border: 1px solid #ccc;
    padding: 10px;
    margin: 5px;
    /*padding-top: 1px;*/
}

.function h3 {
    margin-top: 0px;
    margin-bottom: 10px;
}

.function h4, .function p, .function ul {
    margin-bottom: 5px;
    margin-top: 0px;
}


.toc {
    float: right;
    width: 300px;
    border: 1px solid #ccc;
    background-color: #fcfcfc;
    padding: 10px;
    margin: 5px;
}

.toc h2 {
    margin: 0;
    padding: 0;
}
.toc ul {
    margin: 3px;
    margin-left: 0;
}

.sublist {
    padding-left: 30px;
}

.trigger, .non-trigger{
    font-size: 90%;
    color: #444;
    cursor: pointer;
}

.non-trigger {
    color: #ccc;
    cursor: text;  
}



/*.bodyWrapper a {
    color: orange;
}

.bodyWrapper a:visited {
    color: #ffc04d;
}

.bodyWrapper a:active {
    color: darkorange;
}*/


.menu h2 {
    /*margin-top: -15px;*/
    min-width: 0;
    width: 150px;
    margin-bottom: 3px;

}

/*.toc a, .menu a {*/
a {
    color: steelblue;
}

/*.toc a:visited, .menu a:visited {*/
a:visited {
    color: steelblue;
}

/*.toc a:active, .menu a:active {*/
a:active {
    color: lightsteelblue;
}

/*.logo {
    width: 200px;
    float: left;
}

.title {
    width: 100%;
    position: relative;
    padding: 0;
    margin: 0;
}

.titleMain {
    display: block;
    padding: 0;
    margin: 0;
    color: #555;
    font-size: 265%;
    position: absolute;
    right: 15px;
    top: 0px;
    font-weight: lighter;
}*/

.highlight {
    /*color: #ffa500;*/
    /*color: #ff684d;*/
    color: #b10000;
    /*font-weight: bold;*/
}

code, pre {
    font-family: monospace;
    /*color: #080;*/
    color: #cc8400;
    /*font-weight: bold;*/
    font-size: 110%;
}

pre {
    white-space: pre-wrap;
}

.prettyprint {
    border-color: #ececec;
    background-color: #fafafa;
    /*font-weight: normal;*/
}

hr {
    height: 10px;
    border: 1px solid steelblue;
    border-right-width: 16px;
}

td {
    vertical-align: top;
    border: 1px solid #e2e2e2;
    background-color: white;
    color: #666;
}

th {
    background-color: #eee;
    border: 1px solid lightsteelblue;
}

table {
    border: 1px solid #e2e2e2;
}

tr.subHeader {
    background-color: white;
    /*color: steelblue;*/
    counter-reset: row 0;
}
.subHeader td {
    border: none;
    background-color: #e2e2e2;
}

code a, code a:visited {
    text-decoration: none; 
    /*color: #cc8400;*/
}
code a:hover, code a:active {
    text-decoration: underline;
    /*color: #cc8400;*/
}

.parameter-requirement {
    font-style: italic;
}

.function {
    position: relative;
}

.top-tag {
    position: absolute;
    right: 2px;
}

.top-tag a, .top-tag a:visited {
    color: lightgray;
}

.top-tag a:hover, .top-tag a:active {
    color: steelblue;
}

.top-top {
    top: 2px;
}

.top-bottom {
    bottom: 2px;
}